﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RsCms.Core.Promote.Entities
{
	[Table(Name ="promote_info")]
	public class PromoteInfo
	{
		[Column(IsIdentity =true,IsPrimary =true)]
        public long Id { get; set; }
        /// <summary>
        /// 邀请人的推广码
        /// </summary>
        public string PromoteCode { get; set; }
        /// <summary>
        /// 受邀者推广码
        /// </summary>
        public string ReceiveCode { get; set; }

        public DateTime CreateDate { get; set; } = DateTime.Now;
    }
}
